package com.lhy.vaccine_stock.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lhy.vaccine_stock.entity.VaccineStock;
import com.lhy.vaccine_stock.vo.VaccineStockVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lhy
 * @since 2023-02-22
 */
@Mapper
public interface VaccineStockMapper extends BaseMapper<VaccineStock> {

    List<VaccineStockVo> customSelectByPage(@Param("page") Integer page, @Param("currentPageSize") Integer currentPageSize);

    Long getTotal();

    List<String> getVaccineList();

    List<String> getVaccineNumber(@Param("newValue") String newValue);

    Integer getVaccineId(@Param("name") String vName, @Param("msg") String vMsg);
}
